package com.example.demo.dto

import io.swagger.annotations.ApiModelProperty
import javax.validation.constraints.NotBlank

data class UpdateAvatarDo(

        @get: NotBlank(message = "图片地址不为空")
        @ApiModelProperty(value = "image")
        val image: String,

        @get: NotBlank(message = "userId不为空")
        @ApiModelProperty(value = "userId")
        val userId: String

)
